package com.example.demo.ui.main;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.Toast;

import com.example.demo.R;

import java.util.List;

public class MainActivity extends AppCompatActivity implements MainContract.IMainView {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    // IMainView
    @Override
    public void getGoodListSuccess(List<String> goods) {
        Toast.makeText(this, "展示数据:" , Toast.LENGTH_LONG).show();
    }
    // IMainView
    @Override
    public void getGoodListFailure() {

    }
}